package com.woniuxy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: ideaAdmin
 * TODO: 测试拦截器的控制器
 * Date: 2022/2/9:14:51
 * Description:
 */
@Controller
@RequestMapping("/interceptor")
public class InterceptorController {
    @RequestMapping("/test")
    public String   test(){
        System.out.println("目标方法被访问");

        return "ok";
    }
}
